package com.qn.example.service;

import com.qn.example.pojo.AddressBook;

import java.util.List;

/**
 * @author 21276
 * @version 1.0
 * @date 2023/5/19 9:18
 */
public interface AddressBookService {

    void saveAddressBook(AddressBook addressBook);

    List<AddressBook> addressList(Long userId);

    void updateDefault(AddressBook addressBook, Long userId);

    AddressBook getAddressBookById(Long id);

    void updateAddressBook(AddressBook addressBook);

    void deleteAddressByIds(Long ids);

    AddressBook findDefaultAddressBook(Long userId);



}
